import java.util.Scanner;



public class OnTheFlyOracle extends Oracle {

	public Complex query(int q){
		double real = 0;
		double im = 0;
		Scanner scan = new Scanner(System.in);

		System.out.println("Input f's Real value for index " + q+": ");
		real = scan.nextDouble();
		System.out.println("Input f's Imaginery value for index " + q + ": ");
		im = scan.nextDouble();
		
		return new Complex(real, im);
	}
}
